package com.lianyu507;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;

@Configuration
@EnableAutoConfiguration
@ComponentScan
@MapperScan("com.lianyu507.mapper")
@EnableScheduling
public class StudySpringBoot extends WebMvcConfigurerAdapter{
	public static void main(String[] args) {
		SpringApplication.run(StudySpringBoot.class, args);
	}
}
